import React, { useEffect } from 'react';
import { getSmallMap } from '../common/map';
const SmallMap = ({ width = '100%', height = '280px', id = 'smallMap' }) => {
  useEffect(() => {
    const map = getSmallMap({ id });
  }, []);
  return <div id={id} style={{ width, height }}></div>;
};

export default SmallMap;
